/*
This style sheet is available for the whole site.
***************************************************
table of contents:
1. reset css to override user agent styles
2. general classes for the whole site
3. styles for header and footer
4. styles for JS plugins
***************************************************
*/


/*Reset style for all the html tags
  重设标签样式
*/

html,
body,
article,
section,
header,
footer,
nav,
div,
dl,
dt,
dd,
hr,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
th,
td {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    text-indent: 0;
}

* {
    -webkit-tap-highlight-color: rgba(240, 240, 240, 0);
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: Tahoma, 'Lucida Grande', Verdana, 'Microsoft Yahei', STXihei, hei;
    overflow-x: hidden;
    color: #333;
    font-size: 1px;
    -webkit-overflow-scrolling: touch;
}

@media screen and (max-device-width: 480px) {
    body {
        -webkit-text-size-adjust: none;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

embed {
    pointer-events: visible;
}

object {
    pointer-events: visible;
}

svg {
    pointer-events: none;
}

@font-face {
    font-family: toutiaofont;
    src: url(../font/toutiaofont.woff);
}

@font-face {
    font-family: glyfont;
    src: url(../font/glyphicons-halflings-regular.woff);
}

@font-face {
    font-family: jhqcfont;
    src: url(../font/iconfont.woff);
}